home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Graphics / Misc / NeXTcontour_1.7 / Source / ContourView.h < prev    next >
Encoding:
Text File  |  1995-06-12  |  1.1 KB  |  51 lines

  1.  
  2. /* Generated by Interface Builder */
  3. #import "Contour.h"
  4. #import <appkit/View.h>
  5. #import <appkit/Application.h>
  6. #import <appkit/PrintInfo.h>
  7. #import <dpsclient/wraps.h>
  8. #import <appkit/Font.h>
  9. #import <appkit/FontManager.h>
  10. #import <appkit/ScrollView.h>
  11.  
  12. @interface ContourView:View
  13. {
  14.     id    theFontManager;
  15.     id    contourParam;
  16.     id    printColorAccessory;
  17.     float ppxunit, ppyunit;    /* pixels per xunit, pixels per y unit */
  18.     id     newTitleFont;
  19.     id     newLabelFont;
  20.     NXPoint oldMin, oldMax;
  21. }
  22.  
  23. -contourAndDraw;
  24. -gridAndDraw;
  25.  
  26. - initFrame:(const NXRect *)frameRect;
  27. - clear:sender;
  28. - doPrinting:sender;
  29. - setDrawColor:(float) color;
  30. - doPrinting:sender;
  31.  
  32. // Any subclass of View needs to implement its own drawSelf method
  33. - drawSelf: (const NXRect *)rects :(int)rectCount;
  34.  
  35. /*
  36.  * We implement the mouseDown method to allow zooming and also to allow
  37.  * moving the legend box.  We lean heavily on the code in the
  38.  * /NextDeveloper/Examples/Mandelbrot directory.
  39.  */
  40. - mouseDown:(NXEvent *)e;
  41.  
  42. - saveEPS:sender;
  43. - savePSCode:(char *)aFile;
  44. - copyPScode:sender;
  45. @end
  46.  
  47.  
  48.  
  49.  
  50.  
  51.